//
//  OSHomeVC.m
//  ZKPayApp
//
//  Created by 凯朱 on 2024/10/29.
//

#import "OSHomeVC.h"
#import "OSHomeCell.h"
#import "OSHomeView.h"

static  NSString *const kCellId = @"OSHomeCell";

@interface OSHomeVC (){
    
}

@property (nonatomic, strong)UITableView *tableView;
@end

@implementation OSHomeVC

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.isHidenNaviBar = YES;
    [self.view addSubview:self.tableView];
    OSHomeView *headView = [OSHomeView viewFromXIB];
    headView.frame = self.tableView.bounds;
    self.tableView.tableHeaderView = headView;
}

#pragma mark - ================<懒加载>===============
-(UITableView *)tableView{
    if (_tableView == nil) {
        _tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 0,kScreenWidth,self.view.height) style:UITableViewStyleGrouped];
        _tableView.backgroundColor = kClearColor;
        _tableView.showsVerticalScrollIndicator = NO;
    }
    return _tableView;
}



@end
